#define _CRT_SECURE_NO_WARNINGS
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
#define SIZE 1000
#define OrdinaryPoint SIZE/2
int main() {
	srand((unsigned int)time(NULL));
	int arr[SIZE] = { 0 };
	int num = rand() % SIZE;
	printf("%d\n", num);
	arr[num] = 1;
	int i = 1;
	int count = 0;
	while (1) {
		int j = 0;
		int innercount = 0;
		for (j = 0; j < i; j++) {
			innercount++;
			if (arr[OrdinaryPoint+j]==1) {
				break;
			}

		}
		
	}

	return 0;
}